package sk.mka.phd.timit.maven;

import org.apache.log4j.Logger;

//package sk.mka.phd.timit.maven;
//
//import java.io.FileNotFoundException;
//import java.io.IOException;
//import org.apache.log4j.Logger;
//
///**
// *
// * @author bracek
// * @date Jul 7, 2010
// */
public class TimitParams {

    protected static Logger log = Logger.getLogger(TimitParams.class);

//    public enum TimitValues {
//
//        phonemeReduction,
//        phonemeDistribution,
//        groupsOutputRepresentation,
//        groupsOutputXml,
//        dir,
//    }
//    public static final String getInputDirectory(final TimitValues dir) {
//
//        String userDir = null;
//        final String absPath = System.getProperty("user.dir");
//
////        try {
////            userDir = MavenParams.getPomValue(dir.toString(), null);
////        } catch (FileNotFoundException ex) {
////            log.fatal(ex);
////        } catch (IOException ex) {
////            log.fatal(ex);
////        }
//        final String finalPath = absPath + "/" + userDir;
//        return finalPath;
//    }
    public static String getInputDirectory(final String value) {
        final String absPath = System.getProperty("user.dir");
        final String finalPath = absPath + "/" + value;
        return finalPath;
    }
}
